package com.taoyuan.hotel.dao;

import com.taoyuan.hotel.entity.Food;

import java.util.List;

public interface FoodDao {
    int add(Food food);

    List<Food> selectAll();

    int del(int id);

    int delBatch(int[] ids);

    int update(Food food);

    List<Food> selectWhere(String name, int id);
}
